package com.study.services;

import org.apache.shiro.authz.annotation.RequiresRoles;
import org.springframework.stereotype.Service;

import java.util.Date;

@Service
public class TestService {
    @RequiresRoles({"admin"})
    public String testShiroAnnotation(){
        return "TestService:"+new Date();
    }
}
